
#ifndef KPOWERBOX_SERVER
#define KPOWERBOX_SERVER

#include <QtCore/QList>
#include <QtCore/QObject>
#include <QtCore/QString>

#include <QtGui/QtGui>

#include <libuserangel.h>


/**
 * A server which displays powerboxes on request
 */
class DummyPowerboxServer : public QObject
{
	Q_OBJECT


	public:
	/**
	 * Constructor.
	 *
	 * @param   filenames       filenames which we will always return
	 */
	DummyPowerboxServer(QStringList filenames);


	public slots:
	/** Pretends to show a PowerBox, then returns the static filename */
	Q_SCRIPTABLE QStringList showPowerbox(
		int operation,
		QString title,
		QString parent,
		QString startDir,
		QString filter,
		bool allowMultipleSelections = false);


	private:
	QStringList filenames;       //!< filenames which we will always return
};

#endif

